 package srdb.migration.schema.metadata;
 
 public class EnumType extends DBObject
 {
   private String typeName;
   private String schemaName;
   private String definition;
 
   public EnumType(String typeName, String schemaName, String definition)
   {
     this.typeName = typeName;
     this.schemaName = schemaName;
     this.definition = definition;
   }
 
   public String getName()
   {
     return this.typeName;
   }
 
   public DBObject getParent()
   {
     return null;
   }
 
   public String getSchema()
   {
     return this.schemaName;
   }
 
   public String getSQL() {
     return "CREATE TYPE " + this.typeName + " AS " + this.definition;
   }
 }

/* 

 * 
 */